<!doctype html>
<html lang="zh">
<head>
<meta charset="utf-8">
<title>{$category.catname}_{$web_config.site_name}</title>
<meta name="keywords" content="{$category.keywords}" />
<meta name="description" content="{$category.description}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="__CAOZHA-SKIN__/green/css/base.css" rel="stylesheet">
<link href="__CAOZHA-SKIN__/green/css/m.css" rel="stylesheet">
<link href="__CAOZHA-SKIN__/green/css/swiper.min.css" rel="stylesheet">
<script src="__CAOZHA-SKIN__/green/js/jquery-3.6.0.min.js" ></script>
<script src="__CAOZHA-SKIN__/green/js/comm.js"></script>
<!-- Swiper JS -->
<script src="__CAOZHA-SKIN__/green/js/swiper.min.js"></script>
</head>
<body>
<header>
  <div class="top_head box">
    <div class="logo"><a href="/" target="_blank"><img src="__CAOZHA-SKIN__/green/images/logo.png" alt=""></a></div>
    <div class="search">
      <form action="{:dc_url('index/article/search')}" method="get" name="searchform" id="searchform">
        <input name="keyword" id="keyboard" class="input_text" value="请输入关键字词" style="color: rgb(153, 153, 153);" onfocus="if(value=='请输入关键字词'){this.style.color='#000';value=''}" onblur="if(value==''){this.style.color='#999';value='请输入关键字词'}" type="text">
        <input name="Submit" class="input_submit" value="搜索" type="submit">
      </form>
    </div>
    <!--search end--> 
  </div>
  <div class="clear"></div>
  <nav>
    <ul id="starlist" class="box">
      <li><a href="/">首页</a></li>
      {dc:category name='cat' fields='catid,catname,url' parentid='0' limit='0,10' orderby='' iscache="1"}
      <li><a href="{:art_cat_url($cat.url,$cat.catid)}">{$cat.catname}</a></li>
      {/dc:category}
    </ul>
    <div id="mnavh"><span class="navicon"></span></div>
  </nav>
</header>  <div class="mtop"></div>
<div class="box">
  <div class="weizhi zilanmu">
    分类：
    {php}
        if ($category["child"]==1){
        $parentid=$category["catid"];
        }else{
        $parentid=$category["parentid"];
        if($parentid==0){
        $parentid=-1;
        }
        }
        {/php}
        {dc:category name='cat' fields='catid,catname,url' type='' modelid='' parentid='$parentid' child='' ismenu='1' limit='0,20' orderby='' iscache="1"}
    <a href="{:art_cat_url($cat.url,$cat.catid)}">{$cat.catname}</a>
    {/dc:category}
  </div>
  <div class="weizhi">
    当前位置：<a href="/" target="_blank">首页</a> >
    {php}$where_value='catid in('.$category["arrparentid"].')';{/php}
    {dc:get name='cat' fields='catid,catname,url' datatable='category' where='$where_value' limit='0,5' orderby='rand()' iscache="1"}
    <a href="{:art_cat_url($cat.url,$cat.catid)}">{$cat.catname}</a> >
    {/dc:get}
    {$category.catname}
  </div>

    <h3 class="line_title">{$category.catname}</h3>
    <div class="content page">
      {$category.content|raw|stripslashes}
    </div>

</div>
<footer>
  <div class="box">
    {$web_config.site_footer|raw|stripslashes}
  </div>
</footer>
<a href="#" title="返回顶部" class="icon-top"></a>
<script>
  //统计代码
  $(function () {
    //延迟统计, 以免影响页面载入
    var cnzz = document.createElement("script");
    cnzz.src = '{dc:block marker="tj_url" is_strip="1" is_decode="1" iscache="1"}';
    document.getElementsByTagName('body')[0].appendChild(cnzz);
  });
</script>
</body>
</html>